package cn.zlj.pethome.pet.service;

import cn.zlj.pethome.pet.domain.Pet;
import cn.zlj.pethome.basic.service.IBaseService;
import cn.zlj.pethome.pet.domain.PetDetail;
import freemarker.template.TemplateException;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zlj
 * @since 2022-10-28
 */
public interface IPetService extends IBaseService<Pet> {

    void toffsale(List<Long> ids);

    void onsale(List<Long> ids);

    Pet getPetDetail(Long id) throws IOException, TemplateException;

    PetDetail findDetailById(Long id);

}
